package com.cc.ndmall.mall.service.impl;

import com.cc.ndmall.common.utils.PageUtils;
import com.cc.ndmall.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.cc.ndmall.mall.dao.IssueDao;
import com.cc.ndmall.mall.entity.IssueEntity;
import com.cc.ndmall.mall.service.IssueService;


@Service("issueService")
public class IssueServiceImpl extends ServiceImpl<IssueDao, IssueEntity> implements IssueService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<IssueEntity> page = this.page(
                new Query<IssueEntity>().getPage(params),
                new QueryWrapper<IssueEntity>()
        );

        return new PageUtils(page);
    }

}